package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Admin;

import java.util.List;

/**
 * @author 杨林
 * @create 2022-09-14 23:11 星期三
 * description:
 */
public interface AdminService extends BaseService<Admin> {

    List<Admin> findAll();

    /**
     * 根据用户名获取用户
     * @param username
     * @return
     */
    Admin getByUsername(String username);
}
